<nz-layout class="layout">
  <nz-header style="display: flex;align-items: center;flex-direction: row-reverse;">

    <ul nz-menu [nzTheme]="'dark'" [nzMode]="'horizontal'" style="line-height: 64px;">
      <li nz-menu-item>修改密码</li>
      <li nz-menu-item>退出</li>
    </ul>
    <nz-avatar [nzShape]="'square'" [nzSize]="'large'" [nzIcon]="'user'"></nz-avatar>
  </nz-header>
  <nz-layout>
    <nz-sider [nzWidth]="200" style="background:#fff">
      <ul nz-menu [nzMode]="'inline'" style="height:100%">
        <li nz-submenu>
          <span title><i class="anticon anticon-file-text"></i>模拟考试</span>
          <ul>
            <li nz-menu-item routerLink="/exam/examlist" routerLinkActive="active">往届真题</li>
            <li nz-menu-item>已考列表</li>
          </ul>
        </li>
      </ul>
    </nz-sider>
    <nz-layout style="padding:0 24px 24px 24px">
      <nz-breadcrumb style="margin:12px 0;">
        <nz-breadcrumb-item>在线考试</nz-breadcrumb-item>
        <nz-breadcrumb-item>模拟考试</nz-breadcrumb-item>
        <nz-breadcrumb-item>往届真题</nz-breadcrumb-item>
      </nz-breadcrumb>
      <nz-content style="background:#fff; padding: 24px; min-height: 280px;">
        <router-outlet></router-outlet>
      </nz-content>
    </nz-layout>
  </nz-layout>
</nz-layout>
